home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Visual Basic 5.0 (2nd Edition) / Hardcore Visual Basic 5.0 - Second Edition (1997)(Microsoft Press).iso / Source / WinTlb / WINERROR.IDL < prev    next >
Text File  |  1997-04-15  |  47KB  |  728 lines

  1.  
  2. [
  3. #ifdef UNICODE
  4. uuid(64675058-3A82-101B-8181-00AA003743D3),
  5. #else
  6. uuid(64674058-3A82-101B-8181-00AA003743D3),
  7. #endif
  8. helpstring("Error Constants"),
  9. dllname("KERNEL32")
  10. ]
  11. module ErrorConstant {
  12.  
  13.  
  14.     [ helpstring("The operation completed successfully") ]
  15.     const long ERROR_SUCCESS                    = 0;
  16.     [ helpstring("The operation completed successfully") ]
  17.     const long NO_ERROR = 0;
  18.     [ helpstring("Incorrect function") ]
  19.     const long ERROR_INVALID_FUNCTION           = 1;
  20.     [ helpstring("The system cannot find the file specified") ]
  21.     const long ERROR_FILE_NOT_FOUND             = 2;
  22.     [ helpstring("The system cannot find the path specified") ]
  23.     const long ERROR_PATH_NOT_FOUND             = 3;
  24.     [ helpstring("The system cannot open the file") ]
  25.     const long ERROR_TOO_MANY_OPEN_FILES        = 4;
  26.     [ helpstring("Access is denied") ]
  27.     const long ERROR_ACCESS_DENIED              = 5;
  28.     [ helpstring("The handle is invalid") ]
  29.     const long ERROR_INVALID_HANDLE             = 6;
  30.     [ helpstring("The storage control blocks were destroyed") ]
  31.     const long ERROR_ARENA_TRASHED              = 7;
  32.     [ helpstring("Not enough storage is available to process this command") ]
  33.     const long ERROR_NOT_ENOUGH_MEMORY          = 8;
  34.     [ helpstring("The storage control block address is invalid") ]
  35.     const long ERROR_INVALID_BLOCK              = 9;
  36.     [ helpstring("The environment is incorrect") ]
  37.     const long ERROR_BAD_ENVIRONMENT            = 10;
  38.     [ helpstring("An attempt was made to load a program with an incorrect format") ]
  39.     const long ERROR_BAD_FORMAT                 = 11;
  40.     [ helpstring("The access code is invalid") ]
  41.     const long ERROR_INVALID_ACCESS             = 12;
  42.     [ helpstring("The data is invalid") ]
  43.     const long ERROR_INVALID_DATA               = 13;
  44.     [ helpstring("Not enough storage is available to complete this operation") ]
  45.     const long ERROR_OUTOFMEMORY                = 14;
  46.     [ helpstring("The system cannot find the drive specified") ]
  47.     const long ERROR_INVALID_DRIVE              = 15;
  48.     [ helpstring("The directory cannot be removed") ]
  49.     const long ERROR_CURRENT_DIRECTORY          = 16;
  50.     [ helpstring("The system cannot move the file to a different disk drive") ]
  51.     const long ERROR_NOT_SAME_DEVICE            = 17;
  52.     [ helpstring("There are no more files") ]
  53.     const long ERROR_NO_MORE_FILES              = 18;
  54.     [ helpstring("The media is write protected") ]
  55.     const long ERROR_WRITE_PROTECT              = 19;
  56.     [ helpstring("The system cannot find the device specified") ]
  57.     const long ERROR_BAD_UNIT                   = 20;
  58.     [ helpstring("The device is not ready") ]
  59.     const long ERROR_NOT_READY                  = 21;
  60.     [ helpstring("The device does not recognize the command") ]
  61.     const long ERROR_BAD_COMMAND                = 22;
  62.     [ helpstring("Data error (cyclic redundancy check") ]
  63.     const long ERROR_CRC                        = 23;
  64.     [ helpstring("The program issued a command but the command length is incorrect") ]
  65.     const long ERROR_BAD_LENGTH                 = 24;
  66.     [ helpstring("The drive cannot locate a specific area or track on the disk") ]
  67.     const long ERROR_SEEK                       = 25;
  68.     [ helpstring("The specified disk or diskette cannot be accessed") ]
  69.     const long ERROR_NOT_DOS_DISK               = 26;
  70.     [ helpstring("The drive cannot find the sector requested") ]
  71.     const long ERROR_SECTOR_NOT_FOUND           = 27;
  72.     [ helpstring("The printer is out of paper") ]
  73.     const long ERROR_OUT_OF_PAPER               = 28;
  74.     [ helpstring("The system cannot write to the specified device") ]
  75.     const long ERROR_WRITE_FAULT                = 29;
  76.     [ helpstring("The system cannot read from the specified device") ]
  77.     const long ERROR_READ_FAULT                 = 30;
  78.     [ helpstring("A device attached to the system is not functioning") ]
  79.     const long ERROR_GEN_FAILURE                = 31;
  80.     [ helpstring("The process cannot access the file because it is being used by another process") ]
  81.     const long ERROR_SHARING_VIOLATION          = 32;
  82.     [ helpstring("The process cannot access the file because another process has locked a portion of the file") ]
  83.     const long ERROR_LOCK_VIOLATION             = 33;
  84.     [ helpstring("The wrong diskette is in the drive") ]
  85.     const long ERROR_WRONG_DISK                 = 34;
  86.     [ helpstring("Too many files opened for sharing") ]
  87.     const long ERROR_SHARING_BUFFER_EXCEEDED    = 36;
  88.     [ helpstring("Reached end of file") ]
  89.     const long ERROR_HANDLE_EOF                 = 38;
  90.     [ helpstring("The disk is full") ]
  91.     const long ERROR_HANDLE_DISK_FULL           = 39;
  92.     [ helpstring("The network request is not supported") ]
  93.     const long ERROR_NOT_SUPPORTED              = 50;
  94.     [ helpstring("The remote computer is not available") ]
  95.     const long ERROR_REM_NOT_LIST               = 51;
  96.     [ helpstring("A duplicate name exists on the network") ]
  97.     const long ERROR_DUP_NAME                   = 52;
  98.     [ helpstring("The network path was not found") ]
  99.     const long ERROR_BAD_NETPATH                = 53;
  100.     [ helpstring("The network is busy") ]
  101.     const long ERROR_NETWORK_BUSY               = 54;
  102.     [ helpstring("The specified network resource or device is no longer available") ]
  103.     const long ERROR_DEV_NOT_EXIST              = 55;
  104.     [ helpstring("The network BIOS command limit has been reached") ]
  105.     const long ERROR_TOO_MANY_CMDS              = 56;
  106.     [ helpstring("A network adapter hardware error occurred") ]
  107.     const long ERROR_ADAP_HDW_ERR               = 57;
  108.     [ helpstring("The specified server cannot perform the requested operation") ]
  109.     const long ERROR_BAD_NET_RESP               = 58;
  110.     [ helpstring("An unexpected network error occurred") ]
  111.     const long ERROR_UNEXP_NET_ERR              = 59;
  112.     [ helpstring("The remote adapter is not compatible") ]
  113.     const long ERROR_BAD_REM_ADAP               = 60;
  114.     [ helpstring("The printer queue is full") ]
  115.     const long ERROR_PRINTQ_FULL                = 61;
  116.     [ helpstring("Space to store the file waiting to be printed is not available on the server") ]
  117.     const long ERROR_NO_SPOOL_SPACE             = 62;
  118.     [ helpstring("Your file waiting to be printed was deleted") ]
  119.     const long ERROR_PRINT_CANCELLED            = 63;
  120.     [ helpstring("The specified network name is no longer available") ]
  121.     const long ERROR_NETNAME_DELETED            = 64;
  122.     [ helpstring("Network access is denied") ]
  123.     const long ERROR_NETWORK_ACCESS_DENIED      = 65;
  124.     [ helpstring("The network resource type is not correct") ]
  125.     const long ERROR_BAD_DEV_TYPE               = 66;
  126.     [ helpstring("The network name cannot be found") ]
  127.     const long ERROR_BAD_NET_NAME               = 67;
  128.     [ helpstring("The name limit for the local computer network adapter card was exceeded") ]
  129.     const long ERROR_TOO_MANY_NAMES             = 68;
  130.     [ helpstring("The network BIOS session limit was exceeded") ]
  131.     const long ERROR_TOO_MANY_SESS              = 69;
  132.     [ helpstring("The remote server has been paused or is in the process of being started") ]
  133.     const long ERROR_SHARING_PAUSED             = 70;
  134.     [ helpstring("No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept") ]
  135.     const long ERROR_REQ_NOT_ACCEP              = 71;
  136.     [ helpstring("The specified printer or disk device has been paused") ]
  137.     const long ERROR_REDIR_PAUSED               = 72;
  138.     [ helpstring("The file exists") ]
  139.     const long ERROR_FILE_EXISTS                = 80;
  140.     [ helpstring("The directory or file cannot be created") ]
  141.     const long ERROR_CANNOT_MAKE                = 82;
  142.     [ helpstring("Fail on INT 2") ]
  143.     const long ERROR_FAIL_I24                   = 83;
  144.     [ helpstring("Storage to process this request is not available") ]
  145.     const long ERROR_OUT_OF_STRUCTURES          = 84;
  146.     [ helpstring("The local device name is already in use") ]
  147.     const long ERROR_ALREADY_ASSIGNED           = 85;
  148.     [ helpstring("The specified network password is not correct") ]
  149.     const long ERROR_INVALID_PASSWORD           = 86;
  150.     [ helpstring("The parameter is incorrect") ]
  151.     const long ERROR_INVALID_PARAMETER          = 87;
  152.     [ helpstring("A write fault occurred on the network") ]
  153.     const long ERROR_NET_WRITE_FAULT            = 88;
  154.     [ helpstring("The system cannot start another process at this time") ]
  155.     const long ERROR_NO_PROC_SLOTS              = 89;
  156.     [ helpstring("Cannot create another system semaphore") ]
  157.     const long ERROR_TOO_MANY_SEMAPHORES        = 100;
  158.     [ helpstring("The exclusive semaphore is owned by another process") ]
  159.     const long ERROR_EXCL_SEM_ALREADY_OWNED     = 101;
  160.     [ helpstring("The semaphore is set and cannot be closed") ]
  161.     const long ERROR_SEM_IS_SET                 = 102;
  162.     [ helpstring("The semaphore cannot be set again") ]
  163.     const long ERROR_TOO_MANY_SEM_REQUESTS      = 103;
  164.     [ helpstring("Cannot request exclusive semaphores at interrupt time") ]
  165.     const long ERROR_INVALID_AT_INTERRUPT_TIME  = 104;
  166.     [ helpstring("The previous ownership of this semaphore has ended") ]
  167.     const long ERROR_SEM_OWNER_DIED             = 105;
  168.     [ helpstring("Insert the diskette for drive") ]
  169.     const long ERROR_SEM_USER_LIMIT             = 106;
  170.     [ helpstring("Program stopped because alternate diskette was not inserted") ]
  171.     const long ERROR_DISK_CHANGE                = 107;
  172.     [ helpstring("The disk is in use or locked by another process") ]
  173.     const long ERROR_DRIVE_LOCKED               = 108;
  174.     [ helpstring("The pipe has been ended") ]
  175.     const long ERROR_BROKEN_PIPE                = 109;
  176.     [ helpstring("The system cannot open the device or file specified") ]
  177.     const long ERROR_OPEN_FAILED                = 110;
  178.     [ helpstring("The file name is too long") ]
  179.     const long ERROR_BUFFER_OVERFLOW            = 111;
  180.     [ helpstring("There is not enough space on the disk") ]
  181.     const long ERROR_DISK_FULL                  = 112;
  182.     [ helpstring("No more internal file identifiers available") ]
  183.     const long ERROR_NO_MORE_SEARCH_HANDLES     = 113;
  184.     [ helpstring("The target internal file identifier is incorrect") ]
  185.     const long ERROR_INVALID_TARGET_HANDLE      = 114;
  186.     [ helpstring("The IOCTL call made by the application program is not correct") ]
  187.     const long ERROR_INVALID_CATEGORY           = 117;
  188.     [ helpstring("The verify-on-write switch parameter value is not correct") ]
  189.     const long ERROR_INVALID_VERIFY_SWITCH      = 118;
  190.     [ helpstring("The system does not support the command requested") ]
  191.     const long ERROR_BAD_DRIVER_LEVEL           = 119;
  192.     [ helpstring("This function is only valid in Windows NT mode") ]
  193.     const long ERROR_CALL_NOT_IMPLEMENTED       = 120;
  194.     [ helpstring("The semaphore timeout period has expired") ]
  195.     const long ERROR_SEM_TIMEOUT                = 121;
  196.     [ helpstring("The data area passed to a system call is too small") ]
  197.     const long ERROR_INSUFFICIENT_BUFFER        = 122;
  198.     [ helpstring("The filename, directory name, or volume label syntax is incorrect") ]
  199.     const long ERROR_INVALID_NAME               = 123;
  200.     [ helpstring("The system call level is not correct") ]
  201.     const long ERROR_INVALID_LEVEL              = 124;
  202.     [ helpstring("The disk has no volume label") ]
  203.     const long ERROR_NO_VOLUME_LABEL            = 125;
  204.     [ helpstring("The specified module could not be found") ]
  205.     const long ERROR_MOD_NOT_FOUND              = 126;
  206.     [ helpstring("The specified procedure could not be found") ]
  207.     const long ERROR_PROC_NOT_FOUND             = 127;
  208.     [ helpstring("There are no child processes to wait for") ]
  209.     const long ERROR_WAIT_NO_CHILDREN           = 128;
  210.     [ helpstring("The application cannot be run in Windows NT mode") ]
  211.     const long ERROR_CHILD_NOT_COMPLETE         = 129;
  212.     [ helpstring("Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O") ]
  213.     const long ERROR_DIRECT_ACCESS_HANDLE       = 130;
  214.     [ helpstring("An attempt was made to move the file pointer before the beginning of the file") ]
  215.     const long ERROR_NEGATIVE_SEEK              = 131;
  216.     [ helpstring("The file pointer cannot be set on the specified device or file") ]
  217.     const long ERROR_SEEK_ON_DEVICE             = 132;
  218.     [ helpstring("The system cannot perform a JOIN or SUBST at this time") ]
  219.     const long ERROR_BUSY_DRIVE                 = 142;
  220.     [ helpstring("The directory is not a subdirectory of the root directory") ]
  221.     const long ERROR_DIR_NOT_ROOT               = 144;
  222.     [ helpstring("The directory is not empty") ]
  223.     const long ERROR_DIR_NOT_EMPTY              = 145;
  224.     [ helpstring("The path specified is being used in a substitute") ]
  225.     const long ERROR_IS_SUBST_PATH              = 146;
  226.     [ helpstring("Not enough resources are available to process this command") ]
  227.     const long ERROR_IS_JOIN_PATH               = 147;
  228.     [ helpstring("The path specified cannot be used at this time") ]
  229.     const long ERROR_PATH_BUSY                  = 148;
  230.     [ helpstring("The number of specified semaphore events for DosMuxSemWait is not correct") ]
  231.     const long ERROR_INVALID_EVENT_COUNT        = 151;
  232.     [ helpstring("DosMuxSemWait did not execute; too many semaphores are already set") ]
  233.     const long ERROR_TOO_MANY_MUXWAITERS        = 152;
  234.     [ helpstring("The DosMuxSemWait list is not correct") ]
  235.     const long ERROR_INVALID_LIST_FORMAT        = 153;
  236.     [ helpstring("The volume label you entered exceeds the 11 character limit.  The first 11 characters were written to disk.  Any characters that exceeded the 11 character limit were automatically deleted") ]
  237.     const long ERROR_LABEL_TOO_LONG             = 154;
  238.     [ helpstring("Cannot create another thread") ]
  239.     const long ERROR_TOO_MANY_TCBS              = 155;
  240.     [ helpstring("The recipient process has refused the signal") ]
  241.     const long ERROR_SIGNAL_REFUSED             = 156;
  242.     [ helpstring("The segment is already discarded and cannot be locked") ]
  243.     const long ERROR_DISCARDED                  = 157;
  244.     [ helpstring("The segment is already unlocked") ]
  245.     const long ERROR_NOT_LOCKED                 = 158;
  246.     [ helpstring("The address for the thread ID is not correct") ]
  247.     const long ERROR_BAD_THREADID_ADDR          = 159;
  248.     [ helpstring("The argument string passed to DosExecPgm is not correct") ]
  249.     const long ERROR_BAD_ARGUMENTS              = 160;
  250.     [ helpstring("The specified path is invalid") ]
  251.     const long ERROR_BAD_PATHNAME               = 161;
  252.     [ helpstring("A signal is already pending") ]
  253.     const long ERROR_SIGNAL_PENDING             = 162;
  254.     [ helpstring("No more threads can be created in the system") ]
  255.     const long ERROR_MAX_THRDS_REACHED          = 164;
  256.     [ helpstring("Unable to lock a region of a file") ]
  257.     const long ERROR_LOCK_FAILED                = 167;
  258.     [ helpstring("The requested resource is in use") ]
  259.     const long ERROR_BUSY                       = 170;
  260.     [ helpstring("A lock request was not outstanding for the supplied cancel region") ]
  261.     const long ERROR_CANCEL_VIOLATION           = 173;
  262.     [ helpstring("The file system does not support atomic changes to the lock type") ]
  263.     const long ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174;
  264.     [ helpstring("The system detected a segment number that was not correct") ]
  265.     const long ERROR_INVALID_SEGMENT_NUMBER     = 180;
  266.     [ helpstring("Cannot create a file when that file already exists") ]
  267.     const long ERROR_ALREADY_EXISTS             = 183;
  268.     [ helpstring("The flag passed is not correct") ]
  269.     const long ERROR_INVALID_FLAG_NUMBER        = 186;
  270.     [ helpstring("The specified system semaphore name was not found") ]
  271.     const long ERROR_SEM_NOT_FOUND              = 187;
  272.     [ helpstring("Cannot run in Windows NT mode") ]
  273.     const long ERROR_INVALID_EXE_SIGNATURE      = 191;
  274.     [ helpstring("File is not a valid Windows NT application") ]
  275.     const long ERROR_BAD_EXE_FORMAT             = 193;
  276.     [ helpstring("The operating system is not presently configured to run this application") ]
  277.     const long ERROR_IOPL_NOT_ENABLED           = 197;
  278.     [ helpstring("The operating system cannot run this application program") ]
  279.     const long ERROR_AUTODATASEG_EXCEEDS_64k    = 199;
  280.     [ helpstring("The code segment cannot be greater than or equal to 64KB") ]
  281.     const long ERROR_RING2SEG_MUST_BE_MOVABLE   = 200;
  282.     [ helpstring("The system could not find the environment option that was entered") ]
  283.     const long ERROR_ENVVAR_NOT_FOUND           = 203;
  284.     [ helpstring("No process in the command subtree has a signal handler") ]
  285.     const long ERROR_NO_SIGNAL_SENT             = 205;
  286.     [ helpstring("The filename or extension is too long") ]
  287.     const long ERROR_FILENAME_EXCED_RANGE       = 206;
  288.     [ helpstring("The ring 2 stack is in use") ]
  289.     const long ERROR_RING2_STACK_IN_USE         = 207;
  290.     [ helpstring("The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified") ]
  291.     const long ERROR_META_EXPANSION_TOO_LONG    = 208;
  292.     [ helpstring("The signal being posted is not correct") ]
  293.     const long ERROR_INVALID_SIGNAL_NUMBER      = 209;
  294.     [ helpstring("The signal handler cannot be set") ]
  295.     const long ERROR_THREAD_1_INACTIVE          = 210;
  296.     [ helpstring("The segment is locked and cannot be reallocated") ]
  297.     const long ERROR_LOCKED                     = 212;
  298.     [ helpstring("Too many dynamic link modules are attached to this program or dynamic link module") ]
  299.     const long ERROR_TOO_MANY_MODULES           = 214;
  300.     [ helpstring("Can't nest calls to LoadModule") ]
  301.     const long ERROR_NESTING_NOT_ALLOWED        = 215;
  302.     [ helpstring("The pipe state is invalid") ]
  303.     const long ERROR_BAD_PIPE                   = 230;
  304.     [ helpstring("All pipe instances are busy") ]
  305.     const long ERROR_PIPE_BUSY                  = 231;
  306.     [ helpstring("The pipe is being closed") ]
  307.     const long ERROR_NO_DATA                    = 232;
  308.     [ helpstring("No process is on the other end of the pipe") ]
  309.     const long ERROR_PIPE_NOT_CONNECTED         = 233;
  310.     [ helpstring("More data is available") ]
  311.     const long ERROR_MORE_DATA                  = 234;
  312.     [ helpstring("The session was cancelled") ]
  313.     const long ERROR_VC_DISCONNECTED            = 240;
  314.     [ helpstring("No more data is available") ]
  315.     const long ERROR_NO_MORE_ITEMS              = 259;
  316.     [ helpstring("The Copy API cannot be used") ]
  317.     const long ERROR_CANNOT_COPY                = 266;
  318.     [ helpstring("The directory name is invalid") ]
  319.     const long ERROR_DIRECTORY                  = 267;
  320.     [ helpstring("Attempt to release mutex not owned by caller") ]
  321.     const long ERROR_NOT_OWNER                  = 288;
  322.     [ helpstring("Too many posts were made to a semaphore") ]
  323.     const long ERROR_TOO_MANY_POSTS             = 298;
  324.     [ helpstring("Only part of a Read/WriteProcessMemory request was completed") ]
  325.     const long ERROR_PARTIAL_COPY               = 299;
  326.     [ helpstring("The system cannot find message for message number in message file") ]
  327.     const long ERROR_MR_MID_NOT_FOUND           = 317;
  328.     [ helpstring("Attempt to access invalid address") ]
  329.     const long ERROR_INVALID_ADDRESS            = 487;
  330.     [ helpstring("Arithmetic result exceeded 32 bits") ]
  331.     const long ERROR_ARITHMETIC_OVERFLOW        = 534;
  332.     [ helpstring("There is a process on other end of the pipe") ]
  333.     const long ERROR_PIPE_CONNECTED             = 535;
  334.     [ helpstring("Waiting for a process to open the other end of the pipe") ]
  335.     const long ERROR_PIPE_LISTENING             = 536;
  336.     [ helpstring("The I/O operation has been aborted because of either a thread exit or an application request") ]
  337.     const long ERROR_OPERATION_ABORTED          = 995;
  338.     [ helpstring("Overlapped I/O event is not in a signalled state") ]
  339.     const long ERROR_IO_INCOMPLETE              = 996;
  340.     [ helpstring("Overlapped I/O operation is in progress") ]
  341.     const long ERROR_IO_PENDING                 = 997;
  342.     [ helpstring("Invalid access to memory location") ]
  343.     const long ERROR_NOACCESS                   = 998;
  344.     [ helpstring("Error performing inpage operation") ]
  345.     const long ERROR_SWAPERROR                  = 999;
  346.     [ helpstring("Recursion too deep, stack overflowed") ]
  347.     const long ERROR_STACK_OVERFLOW             = 1001;
  348.     [ helpstring("The window cannot act on the sent message") ]
  349.     const long ERROR_INVALID_MESSAGE            = 1002;
  350.     [ helpstring("Cannot complete this function") ]
  351.     const long ERROR_CAN_NOT_COMPLETE           = 1003;
  352.     [ helpstring("Invalid flags") ]
  353.     const long ERROR_INVALID_FLAGS              = 1004;
  354.     [ helpstring("The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupt") ]
  355.     const long ERROR_UNRECOGNIZED_VOLUME        = 1005;
  356.     [ helpstring("The volume for a file has been externally altered such that the opened file is no longer valid") ]
  357.     const long ERROR_FILE_INVALID               = 1006;
  358.     [ helpstring("The requested operation cannot be performed in full-screen mode") ]
  359.     const long ERROR_FULLSCREEN_MODE            = 1007;
  360.     [ helpstring("An attempt was made to reference a token that does not exist") ]
  361.     const long ERROR_NO_TOKEN                   = 1008;
  362.     [ helpstring("The configuration registry database is corrupt") ]
  363.     const long ERROR_BADDB                      = 1009;
  364.     [ helpstring("The configuration registry key is invalid") ]
  365.     const long ERROR_BADKEY                     = 1010;
  366.     [ helpstring("The configuration registry key could not be opened") ]
  367.     const long ERROR_CANTOPEN                   = 1011;
  368.     [ helpstring("The configuration registry key could not be read") ]
  369.     const long ERROR_CANTREAD                   = 1012;
  370.     [ helpstring("The configuration registry key could not be written") ]
  371.     const long ERROR_CANTWRITE                  = 1013;
  372.     [ helpstring("One of the files in the Registry database had to be recovered by use of a log or alternate copy.  The recovery was successful") ]
  373.     const long ERROR_REGISTRY_RECOVERED         = 1014;
  374.     [ helpstring("The structure a Registry data file is corrupt, or the system image of the file is corrupt, or the file could not be recovered because the alternate copy or log was absent or corrupt") ]
  375.     const long ERROR_REGISTRY_CORRUPT           = 1015;
  376.     [ helpstring("An I/O operation initiated by the Registry failed unrecoverably. The Registry could not read in, or write out, or flush, one of the files that contain the system's image of the Registry") ]
  377.     const long ERROR_REGISTRY_IO_FAILED         = 1016;
  378.     [ helpstring("The system has attempted to load or restore a file into the Registry, but the specified file is not in a Registry file format") ]
  379.     const long ERROR_NOT_REGISTRY_FILE          = 1017;
  380.     [ helpstring("Illegal operation attempted on a Registry key which has been marked for deletion") ]
  381.     const long ERROR_KEY_DELETED                = 1018;
  382.     [ helpstring("System could not allocate the required space in a Registry log") ]
  383.     const long ERROR_NO_LOG_SPACE               = 1019;
  384.     [ helpstring("Cannot create a symbolic link in a Registry key that already has subkeys or values") ]
  385.     const long ERROR_KEY_HAS_CHILDREN           = 1020;
  386.     [ helpstring("Cannot create a stable subkey under a volatile parent key") ]
  387.     const long ERROR_CHILD_MUST_BE_VOLATILE     = 1021;
  388.     [ helpstring("A notify change request is being completed and the information is not being returned in the caller's buffer. The caller now needs to enumerate the files to find the changes") ]
  389.     const long ERROR_NOTIFY_ENUM_DIR            = 1022;
  390.     [ helpstring("A stop control has been sent to a service which other running services are dependent on") ]
  391.     const long ERROR_DEPENDENT_SERVICES_RUNNING = 1051;
  392.     [ helpstring("The requested control is not valid for this service") ]
  393.     const long ERROR_INVALID_SERVICE_CONTROL    = 1052;
  394.     [ helpstring("The service did not respond to the start or control request in a timely fashion") ]
  395.     const long ERROR_SERVICE_REQUEST_TIMEOUT    = 1053;
  396.     [ helpstring("A thread could not be created for the service") ]
  397.     const long ERROR_SERVICE_NO_THREAD          = 1054;
  398.     [ helpstring("The service database is locked") ]
  399.     const long ERROR_SERVICE_DATABASE_LOCKED    = 1055;
  400.     [ helpstring("An instance of the service is already running") ]
  401.     const long ERROR_SERVICE_ALREADY_RUNNING    = 1056;
  402.     [ helpstring("The account name is invalid or does not exist") ]
  403.     const long ERROR_INVALID_SERVICE_ACCOUNT    = 1057;
  404.     [ helpstring("The specified service is disabled and cannot be started") ]
  405.     const long ERROR_SERVICE_DISABLED           = 1058;
  406.     [ helpstring("Circular service dependency was specified") ]
  407.     const long ERROR_CIRCULAR_DEPENDENCY        = 1059;
  408.     [ helpstring("The specified service does not exist as an installed service") ]
  409.     const long ERROR_SERVICE_DOES_NOT_EXIST     = 1060;
  410.     [ helpstring("The service cannot accept control messages at this time") ]
  411.     const long ERROR_SERVICE_CANNOT_ACCEPT_CTRL = 1061;
  412.     [ helpstring("The service has not been started") ]
  413.     const long ERROR_SERVICE_NOT_ACTIVE         = 1062;
  414.     [ helpstring("The service process could not connect to the service controller") ]
  415.     const long ERROR_FAILED_SERVICE_CONTROLLER_CONNECT = 1063;
  416.     [ helpstring("An exception occurred in the service when handling the control request") ]
  417.     const long ERROR_EXCEPTION_IN_SERVICE       = 1064;
  418.     [ helpstring("The database specified does not exist") ]
  419.     const long ERROR_DATABASE_DOES_NOT_EXIST    = 1065;
  420.     [ helpstring("The service has returned a service-specific error code") ]
  421.     const long ERROR_SERVICE_SPECIFIC_ERROR     = 1066;
  422.     [ helpstring("The process terminated unexpectedly") ]
  423.     const long ERROR_PROCESS_ABORTED            = 1067;
  424.     [ helpstring("The dependency service or group failed to start") ]
  425.     const long ERROR_SERVICE_DEPENDENCY_FAIL    = 1068;
  426.     [ helpstring("The service did not start due to a logon failure") ]
  427.     const long ERROR_SERVICE_LOGON_FAILED       = 1069;
  428.     [ helpstring("After starting, the service hung in a start-pending state") ]
  429.     const long ERROR_SERVICE_START_HANG         = 1070;
  430.     [ helpstring("The specified service database lock is invalid") ]
  431.     const long ERROR_INVALID_SERVICE_LOCK       = 1071;
  432.     [ helpstring("The specified service has been marked for deletion") ]
  433.     const long ERROR_SERVICE_MARKED_FOR_DELETE  = 1072;
  434.     [ helpstring("The specified service already exists") ]
  435.     const long ERROR_SERVICE_EXISTS             = 1073;
  436.     [ helpstring("The system is currently running with the last-known-good configuration") ]
  437.     const long ERROR_ALREADY_RUNNING_LKG        = 1074;
  438.     [ helpstring("The dependency service does not exist or has been marked for deletion") ]
  439.     const long ERROR_SERVICE_DEPENDENCY_DELETED = 1075;
  440.     [ helpstring("The current boot has already been accepted for use as the last-known-good control set") ]
  441.     const long ERROR_BOOT_ALREADY_ACCEPTED      = 1076;
  442.     [ helpstring("No attempts to start the service have been made since the last boot") ]
  443.     const long ERROR_SERVICE_NEVER_STARTED      = 1077;
  444.     [ helpstring("The name is already in use as either a service name or a service display name") ]
  445.     const long ERROR_DUPLICATE_SERVICE_NAME     = 1078;
  446.     [ helpstring("The physical end of the tape has been reached") ]
  447.     const long ERROR_END_OF_MEDIA               = 1100;
  448.     [ helpstring("A tape access reached a filemark") ]
  449.     const long ERROR_FILEMARK_DETECTED          = 1101;
  450.     [ helpstring("Beginning of tape or partition was encountered") ]
  451.     const long ERROR_BEGINNING_OF_MEDIA         = 1102;
  452.     [ helpstring("A tape access reached the end of a set of files") ]
  453.     const long ERROR_SETMARK_DETECTED           = 1103;
  454.     [ helpstring("No more data is on the tape") ]
  455.     const long ERROR_NO_DATA_DETECTED           = 1104;
  456.     [ helpstring("Tape could not be partitioned") ]
  457.     const long ERROR_PARTITION_FAILURE          = 1105;
  458.     [ helpstring("When accessing a new tape of a multivolume partition, the current blocksize is incorrect") ]
  459.     const long ERROR_INVALID_BLOCK_LENGTH       = 1106;
  460.     [ helpstring("Tape partition information could not be found when loading a tape") ]
  461.     const long ERROR_DEVICE_NOT_PARTITIONED     = 1107;
  462.     [ helpstring("Unable to lock the media eject mechanism") ]
  463.     const long ERROR_UNABLE_TO_LOCK_MEDIA       = 1108;
  464.     [ helpstring("Unable to unload the media") ]
  465.     const long ERROR_UNABLE_TO_UNLOAD_MEDIA     = 1109;
  466.     [ helpstring("Media in drive may have changed") ]
  467.     const long ERROR_MEDIA_CHANGED              = 1110;
  468.     [ helpstring("The I/O bus was reset") ]
  469.     const long ERROR_BUS_RESET                  = 1111;
  470.     [ helpstring("No media in drive") ]
  471.     const long ERROR_NO_MEDIA_IN_DRIVE          = 1112;
  472.     [ helpstring("No mapping for the Unicode character exists in the target multi-byte code page") ]
  473.     const long ERROR_NO_UNICODE_TRANSLATION     = 1113;
  474.     [ helpstring("A dynamic link library (DLL) initialization routine failed") ]
  475.     const long ERROR_DLL_INIT_FAILED            = 1114;
  476.     [ helpstring("A system shutdown is in progress") ]
  477.     const long ERROR_SHUTDOWN_IN_PROGRESS       = 1115;
  478.     [ helpstring("Unable to abort the system shutdown because no shutdown was in progress") ]
  479.     const long ERROR_NO_SHUTDOWN_IN_PROGRESS    = 1116;
  480.     [ helpstring("The request could not be performed because of an I/O device error") ]
  481.     const long ERROR_IO_DEVICE                  = 1117;
  482.     [ helpstring("No serial device was successfully initialized.    The serial driver will unload") ]
  483.     const long ERROR_SERIAL_NO_DEVICE           = 1118;
  484.     [ helpstring("Unable to open a device that was sharing an interrupt request (IRQ) with other devices. At least one other device that uses that IRQ was already opened") ]
  485.     const long ERROR_IRQ_BUSY                   = 1119;
  486.     [ helpstring("A serial I/O operation was completed by another write to the serial port. (The IOCTL_SERIAL_XOFF_COUNTER reached zero.") ]
  487.     const long ERROR_MORE_WRITES                = 1120;
  488.     [ helpstring("A serial I/O operation completed because the time-out period expired. (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.") ]
  489.     const long ERROR_COUNTER_TIMEOUT            = 1121;
  490.     [ helpstring("Physical end of tape encountered") ]
  491.     const long ERROR_EOM_OVERFLOW               = 1129;
  492.     [ helpstring("Not enough server storage is available to process this command") ]
  493.     const long ERROR_NOT_ENOUGH_SERVER_MEMORY   = 1130;
  494.     [ helpstring("A potential deadlock condition has been detected") ]
  495.     const long ERROR_POSSIBLE_DEADLOCK          = 1131;
  496.     [ helpstring("The base address or the file offset specified does not have the proper alignment") ]
  497.     const long ERROR_MAPPED_ALIGNMENT           = 1132;
  498.     [ helpstring("An attempt to change the system power state was vetoed by another application or driver") ]
  499.     const long ERROR_SET_POWER_STATE_VETOED     = 1140;
  500.     [ helpstring("The system BIOS failed an attempt to change the system power state") ]
  501.     const long ERROR_SET_POWER_STATE_FAILED     = 1141;
  502.     [ helpstring("The specified program requires a newer version of Windows") ]
  503.     const long ERROR_OLD_WIN_VERSION            = 1150;
  504.     [ helpstring("The specified program is not a Windows or MS-DOS program") ]
  505.     const long ERROR_APP_WRONG_OS               = 1151;
  506.     [ helpstring("Cannot start more than one instance of the specified program") ]
  507.     const long ERROR_SINGLE_INSTANCE_APP        = 1152;
  508.     [ helpstring("Cannot start more than one instance of the specified program") ]
  509.     const long ERROR_RMODE_APP                  = 1153;
  510.     [ helpstring("One of the library files needed to run this application is damaged") ]
  511.     const long ERROR_INVALID_DLL                = 1154;
  512.     [ helpstring("No application is associated with the specified file for this operation") ]
  513.     const long ERROR_NO_ASSOCIATION             = 1155;
  514.     [ helpstring("An error occurred in sending the command to the application") ]
  515.     const long ERROR_DDE_FAIL                   = 1156;
  516.     [ helpstring("One of the library files needed to run this application cannot be found") ]
  517.     const long ERROR_DLL_NOT_FOUND              = 1157;
  518.     [ helpstring("The specified username is invalid") ]
  519.     const long ERROR_BAD_USERNAME               = 2202;
  520.     [ helpstring("This network connection does not exist") ]
  521.     const long ERROR_NOT_CONNECTED              = 2250;
  522.     [ helpstring("This network connection has files open or requests pending") ]
  523.     const long ERROR_OPEN_FILES                 = 2401;
  524.     [ helpstring("Active connections still exist") ]
  525.     const long ERROR_ACTIVE_CONNECTIONS         = 2402;
  526.     [ helpstring("The device is in use by an active process and cannot be disconnected") ]
  527.     const long ERROR_DEVICE_IN_USE              = 2404;
  528.     [ helpstring("The specified device name is invalid") ]
  529.     const long ERROR_BAD_DEVICE                 = 1200;
  530.     [ helpstring("The device is not currently connected but it is a remembered connection") ]
  531.     const long ERROR_CONNECTION_UNAVAIL         = 1201;
  532.     [ helpstring("An attempt was made to remember a device that had previously been remembered") ]
  533.     const long ERROR_DEVICE_ALREADY_REMEMBERED  = 1202;
  534.     [ helpstring("No network provider accepted the given network path") ]
  535.     const long ERROR_NO_NET_OR_BAD_PATH         = 1203;
  536.     [ helpstring("The specified network provider name is invalid") ]
  537.     const long ERROR_BAD_PROVIDER               = 1204;
  538.     [ helpstring("Unable to open the network connection profile") ]
  539.     const long ERROR_CANNOT_OPEN_PROFILE        = 1205;
  540.     [ helpstring("The network connection profile is corrupt") ]
  541.     const long ERROR_BAD_PROFILE                = 1206;
  542.     [ helpstring("Cannot enumerate a non-container") ]
  543.     const long ERROR_NOT_CONTAINER              = 1207;
  544.     [ helpstring("An extended error has occurred") ]
  545.     const long ERROR_EXTENDED_ERROR             = 1208;
  546.     [ helpstring("The format of the specified group name is invalid") ]
  547.     const long ERROR_INVALID_GROUPNAME          = 1209;
  548.     [ helpstring("The format of the specified computer name is invalid") ]
  549.     const long ERROR_INVALID_COMPUTERNAME       = 1210;
  550.     [ helpstring("The format of the specified event name is invalid") ]
  551.     const long ERROR_INVALID_EVENTNAME          = 1211;
  552.     [ helpstring("The format of the specified domain name is invalid") ]
  553.     const long ERROR_INVALID_DOMAINNAME         = 1212;
  554.     [ helpstring("The format of the specified service name is invalid") ]
  555.     const long ERROR_INVALID_SERVICENAME        = 1213;
  556.     [ helpstring("The format of the specified network name is invalid") ]
  557.     const long ERROR_INVALID_NETNAME            = 1214;
  558.     [ helpstring("The format of the specified share name is invalid") ]
  559.     const long ERROR_INVALID_SHARENAME          = 1215;
  560.     [ helpstring("The format of the specified password is invalid") ]
  561.     const long ERROR_INVALID_PASSWORDNAME       = 1216;
  562.     [ helpstring("The format of the specified message name is invalid") ]
  563.     const long ERROR_INVALID_MESSAGENAME        = 1217;
  564.     [ helpstring("The format of the specified message destination is invalid") ]
  565.     const long ERROR_INVALID_MESSAGEDEST        = 1218;
  566.     [ helpstring("The credentials supplied conflict with an existing set of credentials") ]
  567.     const long ERROR_SESSION_CREDENTIAL_CONFLICT = 1219;
  568.     [ helpstring("An attempt was made to establish a session to a network server, but there are already too many sessions established to that server") ]
  569.     const long ERROR_REMOTE_SESSION_LIMIT_EXCEEDED = 1220;
  570.     [ helpstring("The workgroup or domain name is already in use by another computer on the network") ]
  571.     const long ERROR_DUP_DOMAINNAME             = 1221;
  572.     [ helpstring("The network is not present or not started") ]
  573.     const long ERROR_NO_NETWORK                 = 1222;
  574.     [ helpstring("The operation was cancelled by the user") ]
  575.     const long ERROR_CANCELLED                  = 1223;
  576.     [ helpstring("The requested operation cannot be performed on a file with a user mapped section open") ]
  577.     const long ERROR_USER_MAPPED_FILE           = 1224;
  578.     [ helpstring("The remote system refused the network connection") ]
  579.     const long ERROR_CONNECTION_REFUSED         = 1225;
  580.     [ helpstring("The network connection was gracefully closed") ]
  581.     const long ERROR_GRACEFUL_DISCONNECT        = 1226;
  582.     [ helpstring("The network transport endpoint already has an address associated with it") ]
  583.     const long ERROR_ADDRESS_ALREADY_ASSOCIATED = 1227;
  584.     [ helpstring("An address has not yet been associated with the network endpoint") ]
  585.     const long ERROR_ADDRESS_NOT_ASSOCIATED     = 1228;
  586.     [ helpstring("An operation was attempted on a non-existent network connection") ]
  587.     const long ERROR_CONNECTION_INVALID         = 1229;
  588.     [ helpstring("An invalid operation was attempted on an active network connection") ]
  589.     const long ERROR_CONNECTION_ACTIVE          = 1230;
  590.     [ helpstring("The remote network is not reachable by the transport") ]
  591.     const long ERROR_NETWORK_UNREACHABLE        = 1231;
  592.     [ helpstring("The remote system is not reachable by the transport") ]
  593.     const long ERROR_HOST_UNREACHABLE           = 1232;
  594.     [ helpstring("The remote system does not support the transport protocol") ]
  595.     const long ERROR_PROTOCOL_UNREACHABLE       = 1233;
  596.     [ helpstring("No service is operating at the destination network endpoint on the remote system") ]
  597.     const long ERROR_PORT_UNREACHABLE           = 1234;
  598.     [ helpstring("The request was aborted") ]
  599.     const long ERROR_REQUEST_ABORTED            = 1235;
  600.     [ helpstring("The network connection was aborted by the local system") ]
  601.     const long ERROR_CONNECTION_ABORTED         = 1236;
  602.     [ helpstring("The operation could not be completed. A retry should be performed") ]
  603.     const long ERROR_RETRY                      = 1237;
  604.     [ helpstring("A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached") ]
  605.     const long ERROR_CONNECTION_COUNT_LIMIT     = 1238;
  606.     [ helpstring("Attempting to login during an unauthorized time of day for this account") ]
  607.     const long ERROR_LOGIN_TIME_RESTRICTION     = 1239;
  608.     [ helpstring("The account is not authorized to login from this station") ]
  609.     const long ERROR_LOGIN_WKSTA_RESTRICTION    = 1240;
  610.     [ helpstring("The network address could not be used for the operation requested") ]
  611.     const long ERROR_INCORRECT_ADDRESS          = 1241;
  612.     [ helpstring("The service is already registered") ]
  613.     const long ERROR_ALREADY_REGISTERED         = 1242;
  614.     [ helpstring("The specified service does not exist") ]
  615.     const long ERROR_SERVICE_NOT_FOUND          = 1243;
  616.     [ helpstring("The operation being requested was not performed because the user has not been authenticated") ]
  617.     const long ERROR_NOT_AUTHENTICATED          = 1244;
  618.     [ helpstring("The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist") ]
  619.     const long ERROR_NOT_LOGGED_ON              = 1245;
  620.     [ helpstring("Return that wants caller to continue with work in progress") ]
  621.     const long ERROR_CONTINUE                   = 1246;
  622.     [ helpstring("An attempt was made to perform an initialization operation when initialization has already been completed") ]
  623.     const long ERROR_ALREADY_INITIALIZED        = 1247;
  624.     [ helpstring("No more local devices") ]
  625.     const long ERROR_NO_MORE_DEVICES            = 1248;
  626.     [ helpstring("Invalid window handle") ]
  627.     const long ERROR_INVALID_WINDOW_HANDLE      = 1400;
  628.     [ helpstring("Invalid menu handle") ]
  629.     const long ERROR_INVALID_MENU_HANDLE        = 1401;
  630.     [ helpstring("Invalid cursor handle") ]
  631.     const long ERROR_INVALID_CURSOR_HANDLE      = 1402;
  632.     [ helpstring("Invalid accelerator table handle") ]
  633.     const long ERROR_INVALID_ACCEL_HANDLE       = 1403;
  634.     [ helpstring("Invalid hook handle") ]
  635.     const long ERROR_INVALID_HOOK_HANDLE        = 1404;
  636.     [ helpstring("Invalid handle to a multiple-window position structure") ]
  637.     const long ERROR_INVALID_DWP_HANDLE         = 1405;
  638.     [ helpstring("Cannot create a top-level child window") ]
  639.     const long ERROR_TLW_WITH_WSCHILD           = 1406;
  640.     [ helpstring("Cannot find window class") ]
  641.     const long ERROR_CANNOT_FIND_WND_CLASS      = 1407;
  642.     [ helpstring("Invalid window, belongs to other thread") ]
  643.     const long ERROR_WINDOW_OF_OTHER_THREAD     = 1408;
  644.     [ helpstring("Hot key is already registered") ]
  645.     const long ERROR_HOTKEY_ALREADY_REGISTERED  = 1409;
  646.     [ helpstring("Class already exists") ]
  647.     const long ERROR_CLASS_ALREADY_EXISTS       = 1410;
  648.     [ helpstring("Class does not exist") ]
  649.     const long ERROR_CLASS_DOES_NOT_EXIST       = 1411;
  650.     [ helpstring("Class still has open windows") ]
  651.     const long ERROR_CLASS_HAS_WINDOWS          = 1412;
  652.     [ helpstring("Invalid index") ]
  653.     const long ERROR_INVALID_INDEX              = 1413;
  654.     [ helpstring("Invalid icon handle") ]
  655.     const long ERROR_INVALID_ICON_HANDLE        = 1414;
  656.     [ helpstring("Using private DIALOG window words") ]
  657.     const long ERROR_PRIVATE_DIALOG_INDEX       = 1415;
  658.     [ helpstring("The listbox identifier was not found") ]
  659.     const long ERROR_LISTBOX_ID_NOT_FOUND       = 1416;
  660.     [ helpstring("No wildcards were found") ]
  661.     const long ERROR_NO_WILDCARD_CHARACTERS     = 1417;
  662.     [ helpstring("Thread does not have a clipboard open") ]
  663.     const long ERROR_CLIPBOARD_NOT_OPEN         = 1418;
  664.     [ helpstring("Hot key is not registered") ]
  665.     const long ERROR_HOTKEY_NOT_REGISTERED      = 1419;
  666.     [ helpstring("The window is not a valid dialog window") ]
  667.     const long ERROR_WINDOW_NOT_DIALOG          = 1420;
  668.     [ helpstring("Control ID not found") ]
  669.     const long ERROR_CONTROL_ID_NOT_FOUND       = 1421;
  670.     [ helpstring("Invalid message for a combo box because it does not have an edit control") ]
  671.     const long ERROR_INVALID_COMBOBOX_MESSAGE   = 1422;
  672.     [ helpstring("The window is not a combo box") ]
  673.     const long ERROR_WINDOW_NOT_COMBOBOX        = 1423;
  674.     [ helpstring("Height must be less than 256") ]
  675.     const long ERROR_INVALID_EDIT_HEIGHT        = 1424;
  676.     [ helpstring("Invalid device context (DC) handle") ]
  677.     const long ERROR_DC_NOT_FOUND               = 1425;
  678.     [ helpstring("Invalid hook procedure type") ]
  679.     const long ERROR_INVALID_HOOK_FILTER        = 1426;
  680.     [ helpstring("Invalid hook procedure") ]
  681.     const long ERROR_INVALID_FILTER_PROC        = 1427;
  682.     [ helpstring("Cannot set non-local hook without a module handle") ]
  683.     const long ERROR_HOOK_NEEDS_HMOD            = 1428;
  684.     [ helpstring("This hook procedure can only be set globally") ]
  685.     const long ERROR_GLOBAL_ONLY_HOOK           = 1429;
  686.     [ helpstring("The journal hook procedure is already installed") ]
  687.     const long ERROR_JOURNAL_HOOK_SET           = 1430;
  688.     [ helpstring("The hook procedure is not installed") ]
  689.     const long ERROR_HOOK_NOT_INSTALLED         = 1431;
  690.     [ helpstring("Invalid message for single-selection listbox") ]
  691.     const long ERROR_INVALID_LB_MESSAGE         = 1432;
  692.     [ helpstring("LB_SETCOUNT sent to non-lazy listbox") ]
  693.     const long ERROR_SETCOUNT_ON_BAD_LB         = 1433;
  694.     [ helpstring("This list box does not support tab stops") ]
  695.     const long ERROR_LB_WITHOUT_TABSTOPS        = 1434;
  696.     [ helpstring("Cannot destroy object created by another thread") ]
  697.     const long ERROR_DESTROY_OBJECT_OF_OTHER_THREAD = 1435;
  698.     [ helpstring("Child windows cannot have menus") ]
  699.     const long ERROR_CHILD_WINDOW_MENU          = 1436;
  700.     [ helpstring("The window does not have a system menu") ]
  701.     const long ERROR_NO_SYSTEM_MENU             = 1437;
  702.     [ helpstring("Invalid message box style") ]
  703.     const long ERROR_INVALID_MSGBOX_STYLE       = 1438;
  704.     [ helpstring("Invalid system-wide (SPI_*) parameter") ]
  705.     const long ERROR_INVALID_SPI_VALUE          = 1439;
  706.     [ helpstring("Screen already locked") ]
  707.     const long ERROR_SCREEN_ALREADY_LOCKED      = 1440;
  708.     [ helpstring("All handles to windows in a multiple-window position structure must have the same parent") ]
  709.     const long ERROR_HWNDS_HAVE_DIFF_PARENT     = 1441;
  710.     [ helpstring("The window is not a child window") ]
  711.     const long ERROR_NOT_CHILD_WINDOW           = 1442;
  712.     [ helpstring("Invalid GW_* command") ]
  713.     const long ERROR_INVALID_GW_COMMAND         = 1443;
  714.     [ helpstring("Invalid thread identifier") ]
  715.     const long ERROR_INVALID_THREAD_ID          = 1444;
  716.     [ helpstring("Cannot process a message from a window that is not a multiple document interface (MDI) window") ]
  717.     const long ERROR_NON_MDICHILD_WINDOW        = 1445;
  718.     [ helpstring("Popup menu already active") ]
  719.     const long ERROR_POPUP_ALREADY_ACTIVE       = 1446;
  720.     [ helpstring("The window does not have scroll bars") ]
  721.     const long ERROR_NO_SCROLLBARS              = 1447;
  722.     [ helpstring("Scroll bar range cannot be greater than &H7FFF") ]
  723.     const long ERROR_INVALID_SCROLLBAR_RANGE    = 1448;
  724.     [ helpstring("Cannot show or remove the window in the way specified") ]
  725.     const long ERROR_INVALID_SHOWWIN_COMMAND    = 1449;
  726.  
  727. }
  728.